package com.mlnx.work.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.common.form.PageForm;
import com.mlnx.work.entity.ProjectTask;
import com.mlnx.work.pojo.dto.DateDTO;
import com.mlnx.work.pojo.vo.ProjectTaskListVO;
import com.mlnx.work.pojo.vo.TaskDetailVO;
import com.mlnx.work.pojo.vo.TaskListVO;

import java.util.List;

/**
 * author name: amanda.shan
 * create time: 2020-12-28 16:58:01
 */
public interface ProjectTaskService extends IBaseService<ProjectTask> {

    List<TaskListVO> getByMember(Integer memberId);

    List<TaskListVO> getByMember(Integer memberId, DateDTO dateDTO);

    TaskDetailVO getParentTaskById(Integer taskId);

    List<ProjectTask> getByParentId(Integer taskId);

    Page<ProjectTaskListVO> getParentTaskByDirId(Integer dirId, PageForm pageForm);

    List<TaskListVO> getVerifyTaskListByDept(Integer deptId);
}

